package com.ty.utils.pojo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DictVo {
    @ExcelProperty(value = "id",index = 0)
    private Long id;

    @ExcelProperty(value = "父级id",index = 1)
    private Long parentId;

    @ExcelProperty(value = "名称",index = 2)
    private String name;

    @ExcelProperty(value = "值",index = 3)
    private Long value;

    @ExcelProperty(value = "编码",index = 4)
    private String dictCode;

    @ExcelProperty(value = "创建时间",index = 5)
    private LocalDateTime createTime;


    @ExcelProperty(value = "修改时间",index = 6)
    private LocalDateTime updateTime;

    @ExcelProperty(value = "逻辑删除",index = 7)
    private Integer isDeleted;

    @ExcelProperty(value = "乐观锁",index = 8)
    private Integer version;
}
